package test;

import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;

public class Info {

	private Shell sShell = null; // @jve:decl-index=0:visual-constraint="10,52"

	private Button button = null;

	private Label label = null;

	/**
	 * This method initializes sShell
	 */
	public void createSShell() {
		sShell = new Shell(SWT.DIALOG_TRIM);
		sShell.setText("Shell");
		sShell.setSize(new Point(245, 150));
		sShell.setLayout(null);
		button = new Button(sShell, SWT.CLOSE);
		button.setBounds(new Rectangle(62, 87, 100, 28));
		button
				.addSelectionListener(new org.eclipse.swt.events.SelectionAdapter() {
					public void widgetSelected(
							org.eclipse.swt.events.SelectionEvent e) {
						sShell.dispose();
					}
				});
		label = new Label(sShell, SWT.WRAP | SWT.CENTER);
		label.setSize(new Point(235, 82));
		label.setLocation(new Point(0, 0));
	}

	public Button getButton() {
		return button;
	}

	public Label getLabel() {
		return label;
	}

	public Shell getSShell() {
		return sShell;
	}

}
